<template>
  <div class="list-container">
    <el-table border :data="data">
      <slot name="columns"></slot>
    </el-table>
  </div>
</template>

<script>

export default {
  name: 'list',
  props: {
    data: {
      type: Array,
      default: () => {
        return []
      }
    }
  }
}
</script>

<style scoped>

</style>
